package org.zhxy.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("pe_role_permission")
@Builder
public class RolePermission implements Serializable {

    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    private String roleId;
    private String permissionId;
}
